/*
 * @Author: zhang zhijiang 2824735304@qq.com
 * @Date: 2025-04-27 16:37:54
 * @LastEditors: zhang zhijiang 2824735304@qq.com
 * @LastEditTime: 2025-04-27 17:02:39
 * @FilePath: /linux/http/http.cc
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include"httpser.hpp"
int main(int argc,char* argv[])
{
    if(argc!=2)
    exit(1);
    uint16_t port = std::stoi(argv[1]);
    std::unique_ptr<httpserver> svr(new httpserver(port));
    svr->start();
    return 0;
} 